package prvi.wen.terp.model;

import java.util.Date;


public class UserEntity {
	
	private Integer id;

    private String uName;
    
    private String uPassword;
    
    private Integer role;
    
    private Date lastLogin;
    
    private String createdBy;
    
    private Date createdDate;
    
    private String updatedBy;

    private Date updatedDate;
    
    private Integer status;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getuName() {
		return uName;
	}

	public void setuName(String uName) {
		this.uName = uName;
	}

	public String getuPassword() {
		return uPassword;
	}

	public void setuPassword(String uPassword) {
		this.uPassword = uPassword;
	}

	public Integer getRole() {
		return role;
	}

	public void setRole(Integer role) {
		this.role = role;
	}

	public Date getLastLogin() {
		return lastLogin;
	}

	public void setLastLogin(Date lastLogin) {
		this.lastLogin = lastLogin;
	}

	public String getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public String getUpdatedBy() {
		return updatedBy;
	}

	public void setUpdatedBy(String updatedBy) {
		this.updatedBy = updatedBy;
	}

	public Date getUpdatedDate() {
		return updatedDate;
	}

	public void setUpdatedDate(Date updatedDate) {
		this.updatedDate = updatedDate;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("UserEntity [id=").append(id).append(", uName=")
				.append(uName).append(", uPassword=").append(uPassword)
				.append(", role=").append(role).append(", lastLogin=")
				.append(lastLogin).append(", createdBy=").append(createdBy)
				.append(", createdDate=").append(createdDate)
				.append(", updatedBy=").append(updatedBy)
				.append(", updatedDate=").append(updatedDate)
				.append(", status=").append(status).append("]");
		return builder.toString();
	}
    
	
	
}
